package com.example.tms.mapper;

import com.example.tms.bean.DriverView;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface DriverVMapper extends JpaRepository<DriverView, String>,JpaSpecificationExecutor<DriverView> {
    //查询司机信息（司机id）
    DriverView findBySjidAndSfcz(String sjid, boolean sfcz);
}
